<?php

if(! defined('OT_ROOT')) {
	exit('Access Denied');
}


class AppDiyPay{
	public static $appName = '扫码充值手动录入';
	public static $appID = 105;

	public static function Jud(){
		return false;
	}

	public static function Show($str, $def=''){
			return $def;
	}

	public static function UcMenu($mode='pc'){

	}

	public static function UcPayWeb($UE_ID, $UE_username, $mode='pc'){

	}

	public static function PayTypeItem($name, $type, $diyPaySysArr, $checkedStr, $mode='pc'){

	}

	public static function PayContItem($type, $diyPaySysArr, $disStr, $mode='pc'){

	}

	public static function UcManage($userID,$mode='pc'){

	}

	public static function StateCN($num, $mode=''){
		switch ($num){
			case 6:		return $mode=='cn' ? '处理中' : '<span style="color:green;">处理中</span>';		
			case 2:		return $mode=='cn' ? '拒绝' : '<span style="color:red;" title="审核不通过">拒绝</span>';		
			case 1:		return $mode=='cn' ? '已到账' : '<span style="color:blue;" title="审核通过，已充值到账">已到账</span>';		
			case 0:		return $mode=='cn' ? '待审核' : '<span style="color:;" title="等待后台管理员审核">待审核</span>';		
			default :	return '['. $num .']';
		}
	}

	public static function Deal($mode='pc'){

	}

	public static function TypeCN($type, $payName = ''){
		if (strlen(''. $payName) > 0){ return $payName; }
		switch ($type){
			case 'alipay':		return '支付宝';
			case 'weixin':		return '微信';
			case 'qqpay':		return 'QQ钱包';
			case 'jdpay':		return '京东支付';
			case 'bank':		return '云闪付';
			case 'huafei':		return '话费充值卡';
			case 'jiayou':		return '加油充值卡';
			case 'game':		return '游戏点卡';
			case 'chaoshi':		return '商超购物卡';
			case 'diypay':		return '自定义支付';
			default :			return '['. $type .']';
		}
	}
}
?>